<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class AppointView extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'eb_appoint_view';

    public function rules()
    {
        return $this->belongsToMany(AppointViewRuleTitle::class, 'eb_appoint_view_cont_rule', 'content_id', 'rule_id');
    }
}
